package com.yituo.mjworld.mvc.entity.web;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "web_user_qrcode", schema = "web_mojianworld_server", catalog = "")
public class WebUserQrcode {
  private int orangeId;
  private String userId;
  private String qrCode;
  private Date createDate;
  private boolean status;

  @Id
  @Column(name = "orangeId", nullable = false)
  public int getOrangeId() {
    return orangeId;
  }

  public void setOrangeId(int orangeId) {
    this.orangeId = orangeId;
  }

  @Basic
  @Column(name = "userId", nullable = false, length = 36)
  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  @Basic
  @Column(name = "qrCode", nullable = false, length = 100)
  public String getQrCode() {
    return qrCode;
  }

  public void setQrCode(String qrCode) {
    this.qrCode = qrCode;
  }

  @Basic
  @Column(name = "createDate", nullable = false)
  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  @Basic
  @Column(name = "status", nullable = false)
  public boolean getStatus() {
    return status;
  }

  public void setStatus(boolean status) {
    this.status = status;
  }

}
